package com.fckbug.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class TimeUtil {
	static SimpleDateFormat dateformat = new SimpleDateFormat("yyyy年MM月dd日");
	
	public static String getNormalDate(Date date) {
		return dateformat.format(date);
	}
	
	public static String getFormatDate(Date date, String format) {
		SimpleDateFormat dateformat = new SimpleDateFormat(format); 
		return dateformat.format(date);
	}
}
